package com.scott.service;

import com.github.pagehelper.PageInfo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 代码生成器
 * Created by Scott on 2017/4/24.
 */
public interface GeneratorService {
	
	PageInfo<Map<String, Object>> query(Map<String, Object> map);

	List<String> selectSchema();
	
	Map<String, String> queryTable(Map<String,Object> queryMap);
	
	List<Map<String, String>> queryColumns(Map<String,Object> queryMap);
	
	/**
	 * 生成代码
	 */
	byte[] generatorCode(String tableNames,String dbName);
}
